<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <title>Hiring-找回密码时，修改密码</title>
        <%@ include file="/WEB-INF/view/common/import.jsp"%>
    </head>
    <body>
    	<div class="container">
    		<h1>修改密码</h1>
			<form class="form-horizontal" role="form" novalidate="novalidate" action="<%=request.getContextPath()%>/CommonServlet?command=updatePassword" method="POST">
			  <input type="hidden" name="accountType" value="${param.accountType }"/>
			  <input type="hidden" name="email" value="${param.email }"/>
			  <div class="form-group">
			    <label for="newPassword" class="col-sm-2 control-label">新密码:</label>
			    <div class="col-sm-10">
			      <input type="text" class="form-control" id="newPassword" name="newPassword">
			    </div>
			  </div>
			  <div class="form-group">
			    <div class="col-sm-offset-2 col-sm-10">
			      <button type="submit" class="btn btn-primary">修 改</button>
			    </div>
			  </div>
			</form>
    	</div>
		<script>
			/**
			 * 更换验证码图片
			 */
			function changePic(obj) {
				obj.src='<%=request.getContextPath()%>/static/common/validate-code.jsp?time=' + new Date().getTime();
			}
		</script>
    </body>
</html>
